﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace FireBillBook.Models
{
    public class BaseReponseModel
    {
        public bool IsSuccess { get; set; }
        public int Code { get; set; } = 0;
        public string Message { get; set; }
    }

    public class CommonResponseModel<T> : BaseReponseModel
    {
        public T Result { get; set; }

        public CommonResponseModel(T result)
        {
            Result = result;
        }
    }
}
